/**   
 * 项目名：化工企业安全生产信息化管理平台
 * 日期：    2020-03-01 21:14:36  
 * Copyright (c) 2015- -版权所有     
 */

package com.joysuch.wwyt.edu.bean;

import com.joysuch.wwyt.core.bean.BaseAttachmentBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

@Data
public class EduCoursewareEditBean implements java.io.Serializable {

    // columns START

    // ID
    private Long id;

    // 编号
    @Length(max = 10)
    private String code;

    // 名称
    @Length(max = 100)
    private String name;

    // 分类ID
    private Long typeId;

    // 格式
    @Length(max = 10)
    private String format;

    private Long createPersonId;

    // 附件ID
    private BaseAttachmentBean attachment;

    private BaseAttachmentBean cover;

    @ApiModelProperty("学习时长-分")
    private Integer minute;
    @ApiModelProperty("学习时长-秒")
    private Integer second;

    // columns END

}
